package function;

public class Mp3File {

	private String dir;
	private String name;
	
	public Mp3File(String dir, String filename) {
		super();
		this.dir = dir;
		this.name = filename;
	}

	public String getDir() {
		return dir;
	}

	public String getFilename() {
		return name;
	}

	public String getTitle() {
		return 	name.substring(0, name.length() - 4);
	}

	public String getFile() {
		return dir + "/" + name;
	}

	
}
